package com.homelock.mapper;

import com.homelock.entity.UcUserEmergency;
import com.homelock.entity.UcUserEmergencyExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UcUserEmergencyMapper {
    int countByExample(UcUserEmergencyExample example);

    int deleteByExample(UcUserEmergencyExample example);

    int deleteByPrimaryKey(Long id);

    int insert(UcUserEmergency record);

    int insertSelective(UcUserEmergency record);

    List<UcUserEmergency> selectByExample(UcUserEmergencyExample example);

    UcUserEmergency selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UcUserEmergency record, @Param("example") UcUserEmergencyExample example);

    int updateByExample(@Param("record") UcUserEmergency record, @Param("example") UcUserEmergencyExample example);

    int updateByPrimaryKeySelective(UcUserEmergency record);

    int updateByPrimaryKey(UcUserEmergency record);
}